3.18 \(\int \frac{(a+b x) (a c-b c x)^4}{x^2} \, dx\)

Optimal. Leaf size=73 \[ -\frac{a^5 c^4}{x}-3 a^4 b c^4 \log (x)+2 a^3 b^2 c^4 x+a^2 b^3 c^4 x^2-a b^4 c^4 x^3+\frac{1}{4} b^5 c^4 x^4 \]

[Out]

-((a^5*c^4)/x) + 2*a^3*b^2*c^4*x + a^2*b^3*c^4*x^2 - a*b^4*c^4*x^3 + (b^5*c^4*x^
4)/4 - 3*a^4*b*c^4*Log[x]

_______________________________________________________________________________________

Rubi [A]  time = 0.0954468, antiderivative size = 73, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 1, integrand size = 20, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.05 \[ -\frac{a^5 c^4}{x}-3 a^4 b c^4 \log (x)+2 a^3 b^2 c^4 x+a^2 b^3 c^4 x^2-a b^4 c^4 x^3+\frac{1}{4} b^5 c^4 x^4 \]

Antiderivative was successfully verified.

[In]  Int[((a + b*x)*(a*c - b*c*x)^4)/x^2,x]

[Out]

-((a^5*c^4)/x) + 2*a^3*b^2*c^4*x + a^2*b^3*c^4*x^2 - a*b^4*c^4*x^3 + (b^5*c^4*x^
4)/4 - 3*a^4*b*c^4*Log[x]

_______________________________________________________________________________________

Rubi in Sympy [F]  time = 0., size = 0, normalized size = 0. \[ - \frac{a^{5} c^{4}}{x} - 3 a^{4} b c^{4} \log{\left (x \right )} + 2 a^{3} b^{2} c^{4} x + 2 a^{2} b^{3} c^{4} \int x\, dx - a b^{4} c^{4} x^{3} + \frac{b^{5} c^{4} x^{4}}{4} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  rubi_integrate((b*x+a)*(-b*c*x+a*c)**4/x**2,x)

[Out]

-a**5*c**4/x - 3*a**4*b*c**4*log(x) + 2*a**3*b**2*c**4*x + 2*a**2*b**3*c**4*Inte
gral(x, x) - a*b**4*c**4*x**3 + b**5*c**4*x**4/4

_______________________________________________________________________________________

Mathematica [A]  time = 0.0140338, size = 73, normalized size = 1. \[ -\frac{a^5 c^4}{x}-3 a^4 b c^4 \log (x)+2 a^3 b^2 c^4 x+a^2 b^3 c^4 x^2-a b^4 c^4 x^3+\frac{1}{4} b^5 c^4 x^4 \]

Antiderivative was successfully verified.

[In]  Integrate[((a + b*x)*(a*c - b*c*x)^4)/x^2,x]

[Out]

-((a^5*c^4)/x) + 2*a^3*b^2*c^4*x + a^2*b^3*c^4*x^2 - a*b^4*c^4*x^3 + (b^5*c^4*x^
4)/4 - 3*a^4*b*c^4*Log[x]

_______________________________________________________________________________________

Maple [A]  time = 0.009, size = 72, normalized size = 1. \[ -{\frac{{a}^{5}{c}^{4}}{x}}+2\,{a}^{3}{b}^{2}{c}^{4}x+{a}^{2}{b}^{3}{c}^{4}{x}^{2}-a{b}^{4}{c}^{4}{x}^{3}+{\frac{{b}^{5}{c}^{4}{x}^{4}}{4}}-3\,{a}^{4}b{c}^{4}\ln \left ( x \right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  int((b*x+a)*(-b*c*x+a*c)^4/x^2,x)

[Out]

-a^5*c^4/x+2*a^3*b^2*c^4*x+a^2*b^3*c^4*x^2-a*b^4*c^4*x^3+1/4*b^5*c^4*x^4-3*a^4*b
*c^4*ln(x)

_______________________________________________________________________________________

Maxima [A]  time = 1.38091, size = 96, normalized size = 1.32 \[ \frac{1}{4} \, b^{5} c^{4} x^{4} - a b^{4} c^{4} x^{3} + a^{2} b^{3} c^{4} x^{2} + 2 \, a^{3} b^{2} c^{4} x - 3 \, a^{4} b c^{4} \log \left (x\right ) - \frac{a^{5} c^{4}}{x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((b*c*x - a*c)^4*(b*x + a)/x^2,x, algorithm="maxima")

[Out]

1/4*b^5*c^4*x^4 - a*b^4*c^4*x^3 + a^2*b^3*c^4*x^2 + 2*a^3*b^2*c^4*x - 3*a^4*b*c^
4*log(x) - a^5*c^4/x

_______________________________________________________________________________________

Fricas [A]  time = 0.208116, size = 103, normalized size = 1.41 \[ \frac{b^{5} c^{4} x^{5} - 4 \, a b^{4} c^{4} x^{4} + 4 \, a^{2} b^{3} c^{4} x^{3} + 8 \, a^{3} b^{2} c^{4} x^{2} - 12 \, a^{4} b c^{4} x \log \left (x\right ) - 4 \, a^{5} c^{4}}{4 \, x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((b*c*x - a*c)^4*(b*x + a)/x^2,x, algorithm="fricas")

[Out]

1/4*(b^5*c^4*x^5 - 4*a*b^4*c^4*x^4 + 4*a^2*b^3*c^4*x^3 + 8*a^3*b^2*c^4*x^2 - 12*
a^4*b*c^4*x*log(x) - 4*a^5*c^4)/x

_______________________________________________________________________________________

Sympy [A]  time = 0.691072, size = 71, normalized size = 0.97 \[ - \frac{a^{5} c^{4}}{x} - 3 a^{4} b c^{4} \log{\left (x \right )} + 2 a^{3} b^{2} c^{4} x + a^{2} b^{3} c^{4} x^{2} - a b^{4} c^{4} x^{3} + \frac{b^{5} c^{4} x^{4}}{4} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((b*x+a)*(-b*c*x+a*c)**4/x**2,x)

[Out]

-a**5*c**4/x - 3*a**4*b*c**4*log(x) + 2*a**3*b**2*c**4*x + a**2*b**3*c**4*x**2 -
 a*b**4*c**4*x**3 + b**5*c**4*x**4/4

_______________________________________________________________________________________

GIAC/XCAS [A]  time = 0.245653, size = 97, normalized size = 1.33 \[ \frac{1}{4} \, b^{5} c^{4} x^{4} - a b^{4} c^{4} x^{3} + a^{2} b^{3} c^{4} x^{2} + 2 \, a^{3} b^{2} c^{4} x - 3 \, a^{4} b c^{4}{\rm ln}\left ({\left | x \right |}\right ) - \frac{a^{5} c^{4}}{x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((b*c*x - a*c)^4*(b*x + a)/x^2,x, algorithm="giac")

[Out]

1/4*b^5*c^4*x^4 - a*b^4*c^4*x^3 + a^2*b^3*c^4*x^2 + 2*a^3*b^2*c^4*x - 3*a^4*b*c^
4*ln(abs(x)) - a^5*c^4/x